import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Layout from '../elementui/layout/index'
import Container from '../elementui/container/index'
import Button from '../elementui/button/index'
import Radio from '../elementui/radio/index'
import Checkbox from '../elementui/checkbox/index'
import Input from '../elementui/input/index'
import InputNumber from '../elementui/inputnumber/index'
import Select from '../elementui/select/index'
import Switch from '../elementui/switch/index'
import Slider from '../elementui/slider/index'
import TimePicker from '../elementui/timepicker/index'
import DatePicker from '../elementui/datepicker/index'
import Upload from '../elementui/upload/index'
import Rate from '../elementui/rate/index'
import Colorpicker from '../elementui/colorpicker/index'
import Transfer from '../elementui/transfer/index'
import Form from '../elementui/form/index'
import Table from '../elementui/table/index'
import Tag from '../elementui/tag/index'
import Progress from '../elementui/progress/index'
import Tree from '../elementui/tree/index'
import Pagination from '../elementui/pagination/index'
import Badge from '../elementui/badge/index'
import Alert from '../elementui/alert/index'
import Loading from '../elementui/loading/index'
import Message from '../elementui/message/index'
import MessageBox from '../elementui/messagebox/index'
import Notification from '../elementui/notification/index'
import NavMenu from '../elementui/navmenu/index'
import Tabs from '../elementui/tabs/index'
import Breadcrumb from '../elementui/breadcrumb/index'
import Dropdown from '../elementui/dropdown/index'
import Steps from '../elementui/steps/index'
import Dialog from '../elementui/dialog/index'
import Tooltip from '../elementui/tooltip/index'
import Popover from '../elementui/popover/index'
import Card from '../elementui/card/index'
import Carousel from '../elementui/carousel/index'
import Collapse from '../elementui/collapse/index'
import Timeline from '../elementui/timeline/index'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/layout',
      name: 'layout',
      component: Layout
    },
    {
      path: '/container',
      name: 'container',
      component: Container
    },
    {
      path: '/button',
      name: 'button',
      component: Button
    },
    {
      path: '/radio',
      name: 'radio',
      component: Radio
    },
    {
      path: '/checkbox',
      name: 'checkbox',
      component: Checkbox
    },
    {
      path: '/input',
      name: 'input',
      component: Input
    },
    {
      path: '/inputnumber',
      name: 'inputnumber',
      component: InputNumber
    },
    {
      path: '/select',
      name: 'select',
      component: Select
    },
    {
      path: '/switch',
      name: 'switch',
      component: Switch
    },
    {
      path: '/slider',
      name: 'slider',
      component: Slider
    },
    {
      path: '/timepicker',
      name: 'timepicker',
      component: TimePicker
    },
    {
      path: '/datepicker',
      name: 'datepicker',
      component: DatePicker
    },
    {
      path: '/upload',
      name: 'upload',
      component: Upload
    },
    {
      path: '/rate',
      name: 'rate',
      component: Rate
    },
    {
      path: '/colorpicker',
      name: 'colorpicker',
      component: Colorpicker
    },
    {
      path: '/transfer',
      name: 'transfer',
      component: Transfer
    },
    {
      path: '/form',
      name: 'form',
      component: Form
    },
    {
      path: '/table',
      name: 'table',
      component: Table
    },
    {
      path: '/tag',
      name: 'tag',
      component: Tag
    },
    {
      path: '/progress',
      name: 'progress',
      component: Progress
    },
    {
      path: '/tree',
      name: 'tree',
      component: Tree
    },
    {
      path: '/pagination',
      name: 'pagination',
      component: Pagination
    },
    {
      path: '/badge',
      name: 'badge',
      component: Badge
    },
    {
      path: '/alert',
      name: 'alert',
      component: Alert
    },
    {
      path: '/loading',
      name: 'loading',
      component: Loading
    },
    {
      path: '/message',
      name: 'message',
      component: Message
    },
    {
      path: '/messagebox',
      name: 'messagebox',
      component: MessageBox
    },
    {
      path: '/notification',
      name: 'notification',
      component: Notification
    },
    {
      path: '/navmenu',
      name: 'navmenu',
      component: NavMenu
    },
    {
      path: '/tabs',
      name: 'tabs',
      component: Tabs
    },
    {
      path: '/breadcrumb',
      name: 'breadcrumb',
      component: Breadcrumb
    },
    {
      path: '/dropdown',
      name: 'dropdown',
      component: Dropdown
    },
    {
      path: '/steps',
      name: 'steps',
      component: Steps
    },
    {
      path: '/dialog',
      name: 'dialog',
      component: Dialog
    },
    {
      path: '/tooltip',
      name: 'tooltip',
      component: Tooltip
    },
    {
      path: '/popover',
      name: 'popover',
      component: Popover
    },
    {
      path: '/card',
      name: 'card',
      component: Card
    },
    {
      path: '/carousel',
      name: 'carousel',
      component: Carousel
    },
    {
      path: '/collapse',
      name: 'collapse',
      component: Collapse
    },
    {
      path: '/timeline',
      name: 'timeline',
      component: Timeline
    }
  ]
})
